import { getPlatDataList, getOrderList } from '@/services/PlatformData'

export default () => {
  // 平台订单数据
  const GetPlatDataList = <T>(data: T) => {
    return getPlatDataList(data)
  }

  // 订单成交列表
  const GetOrderList = <T>(data: T) => {
    return getOrderList(data)
  }

  return {
    GetPlatDataList,
    GetOrderList
  }
}
